﻿
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.Info"%>
<%
HashMap user = Info.getUser(request);
String uname = user.get("uname").toString();
String utype = user.get("utype").toString();
 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin: 0px;
}
-->
</style>
<link href="../admin/global.css" rel="stylesheet" type="text/css" />

<SCRIPT language=javascript>
<!--
function window.onload() { 


if(top.location != self.location){ 

var a = window.parent.document.getElementsByTagName('iframe'); 

for (var i=0; i<a.length; i++){ 

if (a[i].name == self.name) {a[i].height = document.body.scrollHeight; return;}}} 

}

//-->
</script>

</head>

<% 
new CommDAO().delete(request,"mixinfo"); 
String id = request.getParameter("id"); 
String erjitype = request.getParameter("erjitype"); 
String myztree = request.getParameter("myztree"); 
HashMap ext = new HashMap(); 
ext.put("infotype","学习资料"); 
new CommDAO().update(request,response,"mixinfo",ext,true,true); 
HashMap mmm = new CommDAO().getmap(id,"mixinfo"); 
%>
<body>
	<form action="filemixinfoxg.jsp?f=f&id=<%=mmm.get("id")%>" name="f1"
		method="post" onsubmit="return checkform()">
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			bgcolor="#FFFFFF" class="main_table_frame">
			<tr>
				<td height="48"><table width="100%" border="0" cellpadding="0"
						cellspacing="0" bgcolor="#F7F7F7" class="main_desk_table">
						<tr>
							<td width="8%" height="6"></td>
						</tr>
						<tr>
							<td><table width="100%" border="0" cellpadding="0"
									cellspacing="0" bgcolor="#F7F7F7">
									<tr>
										<td width="118" class="main_title_td_center">相关信息</td>
										<td align="right" class="main_title_td_bg">&nbsp;</td>

									</tr>
								</table>
								<table width="100%" border="0" cellspacing="0" rules="all"
									style="WIDTH: 100%; BORDER-COLLAPSE: collapse">
									<tr
										onmouseover="currentcolor=this.style.backgroundColor;this.style.backgroundColor='#f0f7ff'"
										onmouseout="this.style.backgroundColor=currentcolor">

										<td width="399" align="center" class="main_matter_td">资料名称</td>
										<td width="912" align="left" class="main_matter_td"><input
											type=text class='textBox' id='title' name='title' size=35 /><label
											id='clabeltitle' /></td>
									</tr>
									<tr
										onmouseover="currentcolor=this.style.backgroundColor;this.style.backgroundColor='#f0f7ff'"
										onmouseout="this.style.backgroundColor=currentcolor">

										<td width="399" align="center" class="main_matter_td">资料简介</td>
										<td width="912" align="left" class="main_matter_td"><textarea
												cols='35' style='margin-top: 1px; margin-bottom: 1px'
												class='textArea' name='infob'></textarea></td>
									</tr>
									<tr
										onmouseover="currentcolor=this.style.backgroundColor;this.style.backgroundColor='#f0f7ff'"
										onmouseout="this.style.backgroundColor=currentcolor">

										<td width="399" align="center" class="main_matter_td">文件</td>
										<td width="912" align="left" class="main_matter_td"><%=Info.getFileUpInfo()%>
										</td>
									</tr>


									<tr
										onmouseover="currentcolor=this.style.backgroundColor;this.style.backgroundColor='#f0f7ff'"
										onmouseout="this.style.backgroundColor=currentcolor">

										<td height="35" colspan="4" align="center"
											class="main_matter_td"><label> <input
												type="submit" name="Submit" value="提交信息" />&nbsp;&nbsp;&nbsp;
												<input type=button value='返回上页' onclick='popclose();' />
										</label></td>
									</tr>
								</table></td>
						</tr>
					</table></td>
			</tr>
		</table>
	</form>
</body>
</html>

<script language=javascript
	src='/npticketsys/js/My97DatePicker/WdatePicker.js'></script>
<script language=javascript src='/npticketsys/js/ajax.js'></script>
<script language=javascript src='/npticketsys/js/popup.js'></script>
<%@page import="util.Info"%>
<%@page import="util.Info"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<%@page import="util.PageManager"%>
<%@page import="dao.CommDAO"%>
<script language=javascript>  
 
</script>
<script language=javascript>  
 function checkform(){  
var titleobj = document.getElementById("title");  
if(titleobj.value==""){  
document.getElementById("clabeltitle").innerHTML="&nbsp;&nbsp;<font color=red>请输入资料名称</font>";  
return false;  
}else{ 
document.getElementById("clabeltitle").innerHTML="  ";  
}  
return true;   
}   
</script>
<%=Info.tform(mmm)%>
<script language=javascript>  
 
</script>
<%=Info.tform(mmm)%>
